# $Id: PKGBUILD 151025 2012-02-24 13:37:13Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xkill
pkgver=1.0.3
pkgrel=3
pkgdesc="Kill a client by its X resource"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu')
makedepends=('xorg-util-macros')
groups=('xorg-apps' 'xorg')
source=(http://xorg.freedesktop.org/archive/individual/app/xkill-${pkgver}.tar.bz2)
sha1sums=('bab7b9c7f3bc053d743eb339cf5fa496bace57e5')

build() {
  cd "${srcdir}/xkill-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/xkill-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
